< Summary

Class:Microsoft.Azure.ApplicationInsights.Query.Models.EventsOperationInfo
Assembly:Microsoft.Azure.ApplicationInsights.Query
File(s):C:\Git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights.Query\src\Generated\Models\EventsOperationInfo.cs
Covered lines:6
Uncovered lines:6
Coverable lines:12
Total lines:76
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_Name()-100%100%
get_Id()-100%100%
get_ParentId()-100%100%
get_SyntheticSource()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights.Query\src\Generated\Models\EventsOperationInfo.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    /// Operation info for an event result
 18    /// </summary>
 19    public partial class EventsOperationInfo
 20    {
 21        /// <summary>
 22        /// Initializes a new instance of the EventsOperationInfo class.
 23        /// </summary>
 12724        public EventsOperationInfo()
 25        {
 26            CustomInit();
 12727        }
 28
 29        /// <summary>
 30        /// Initializes a new instance of the EventsOperationInfo class.
 31        /// </summary>
 32        /// <param name="name">Name of the operation</param>
 33        /// <param name="id">ID of the operation</param>
 34        /// <param name="parentId">Parent ID of the operation</param>
 35        /// <param name="syntheticSource">Synthetic source of the
 36        /// operation</param>
 037        public EventsOperationInfo(string name = default(string), string id = default(string), string parentId = default
 38        {
 039            Name = name;
 040            Id = id;
 041            ParentId = parentId;
 042            SyntheticSource = syntheticSource;
 43            CustomInit();
 044        }
 45
 46        /// <summary>
 47        /// An initialization method that performs custom operations like setting defaults
 48        /// </summary>
 49        partial void CustomInit();
 50
 51        /// <summary>
 52        /// Gets or sets name of the operation
 53        /// </summary>
 54        [JsonProperty(PropertyName = "name")]
 16755        public string Name { get; set; }
 56
 57        /// <summary>
 58        /// Gets or sets ID of the operation
 59        /// </summary>
 60        [JsonProperty(PropertyName = "id")]
 20061        public string Id { get; set; }
 62
 63        /// <summary>
 64        /// Gets or sets parent ID of the operation
 65        /// </summary>
 66        [JsonProperty(PropertyName = "parentId")]
 20067        public string ParentId { get; set; }
 68
 69        /// <summary>
 70        /// Gets or sets synthetic source of the operation
 71        /// </summary>
 72        [JsonProperty(PropertyName = "syntheticSource")]
 16773        public string SyntheticSource { get; set; }
 74
 75    }
 76}