< Summary

Class:Microsoft.Azure.ApplicationInsights.Query.Models.EventsPageViewInfo
Assembly:Microsoft.Azure.ApplicationInsights.Query
File(s):C:\Git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights.Query\src\Generated\Models\EventsPageViewInfo.cs
Covered lines:5
Uncovered lines:7
Coverable lines:12
Total lines:76
Line coverage:41.6% (5 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_Url()-100%100%
get_Duration()-0%100%
get_PerformanceBucket()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights.Query\src\Generated\Models\EventsPageViewInfo.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 page view information
 18    /// </summary>
 19    public partial class EventsPageViewInfo
 20    {
 21        /// <summary>
 22        /// Initializes a new instance of the EventsPageViewInfo class.
 23        /// </summary>
 1324        public EventsPageViewInfo()
 25        {
 26            CustomInit();
 1327        }
 28
 29        /// <summary>
 30        /// Initializes a new instance of the EventsPageViewInfo class.
 31        /// </summary>
 32        /// <param name="name">The name of the page</param>
 33        /// <param name="url">The URL of the page</param>
 34        /// <param name="duration">The duration of the page view</param>
 35        /// <param name="performanceBucket">The performance bucket of the page
 36        /// view</param>
 037        public EventsPageViewInfo(string name = default(string), string url = default(string), string duration = default
 38        {
 039            Name = name;
 040            Url = url;
 041            Duration = duration;
 042            PerformanceBucket = performanceBucket;
 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 the name of the page
 53        /// </summary>
 54        [JsonProperty(PropertyName = "name")]
 2855        public string Name { get; set; }
 56
 57        /// <summary>
 58        /// Gets or sets the URL of the page
 59        /// </summary>
 60        [JsonProperty(PropertyName = "url")]
 1761        public string Url { get; set; }
 62
 63        /// <summary>
 64        /// Gets or sets the duration of the page view
 65        /// </summary>
 66        [JsonProperty(PropertyName = "duration")]
 067        public string Duration { get; set; }
 68
 69        /// <summary>
 70        /// Gets or sets the performance bucket of the page view
 71        /// </summary>
 72        [JsonProperty(PropertyName = "performanceBucket")]
 1773        public string PerformanceBucket { get; set; }
 74
 75    }
 76}