< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_Target()-100%100%
get_Data()-100%100%
get_Success()-100%100%
get_Duration()-100%100%
get_PerformanceBucket()-100%100%
get_ResultCode()-100%100%
get_Type()-100%100%
get_Name()-100%100%
get_Id()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights.Query\src\Generated\Models\EventsDependencyInfo.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    /// The dependency info
 18    /// </summary>
 19    public partial class EventsDependencyInfo
 20    {
 21        /// <summary>
 22        /// Initializes a new instance of the EventsDependencyInfo class.
 23        /// </summary>
 1324        public EventsDependencyInfo()
 25        {
 26            CustomInit();
 1327        }
 28
 29        /// <summary>
 30        /// Initializes a new instance of the EventsDependencyInfo class.
 31        /// </summary>
 32        /// <param name="target">The target of the dependency</param>
 33        /// <param name="data">The data of the dependency</param>
 34        /// <param name="success">Indicates if the dependency was
 35        /// successful</param>
 36        /// <param name="duration">The duration of the dependency</param>
 37        /// <param name="performanceBucket">The performance bucket of the
 38        /// dependency</param>
 39        /// <param name="resultCode">The result code of the dependency</param>
 40        /// <param name="type">The type of the dependency</param>
 41        /// <param name="name">The name of the dependency</param>
 42        /// <param name="id">The ID of the dependency</param>
 043        public EventsDependencyInfo(string target = default(string), string data = default(string), string success = def
 44        {
 045            Target = target;
 046            Data = data;
 047            Success = success;
 048            Duration = duration;
 049            PerformanceBucket = performanceBucket;
 050            ResultCode = resultCode;
 051            Type = type;
 052            Name = name;
 053            Id = id;
 54            CustomInit();
 055        }
 56
 57        /// <summary>
 58        /// An initialization method that performs custom operations like setting defaults
 59        /// </summary>
 60        partial void CustomInit();
 61
 62        /// <summary>
 63        /// Gets or sets the target of the dependency
 64        /// </summary>
 65        [JsonProperty(PropertyName = "target")]
 2866        public string Target { get; set; }
 67
 68        /// <summary>
 69        /// Gets or sets the data of the dependency
 70        /// </summary>
 71        [JsonProperty(PropertyName = "data")]
 2872        public string Data { get; set; }
 73
 74        /// <summary>
 75        /// Gets or sets indicates if the dependency was successful
 76        /// </summary>
 77        [JsonProperty(PropertyName = "success")]
 2878        public string Success { get; set; }
 79
 80        /// <summary>
 81        /// Gets or sets the duration of the dependency
 82        /// </summary>
 83        [JsonProperty(PropertyName = "duration")]
 2884        public long? Duration { get; set; }
 85
 86        /// <summary>
 87        /// Gets or sets the performance bucket of the dependency
 88        /// </summary>
 89        [JsonProperty(PropertyName = "performanceBucket")]
 2890        public string PerformanceBucket { get; set; }
 91
 92        /// <summary>
 93        /// Gets or sets the result code of the dependency
 94        /// </summary>
 95        [JsonProperty(PropertyName = "resultCode")]
 1796        public string ResultCode { get; set; }
 97
 98        /// <summary>
 99        /// Gets or sets the type of the dependency
 100        /// </summary>
 101        [JsonProperty(PropertyName = "type")]
 28102        public string Type { get; set; }
 103
 104        /// <summary>
 105        /// Gets or sets the name of the dependency
 106        /// </summary>
 107        [JsonProperty(PropertyName = "name")]
 28108        public string Name { get; set; }
 109
 110        /// <summary>
 111        /// Gets or sets the ID of the dependency
 112        /// </summary>
 113        [JsonProperty(PropertyName = "id")]
 28114        public string Id { get; set; }
 115
 116    }
 117}