< Summary

Class:Microsoft.Azure.ApplicationInsights.Query.Models.EventsCustomEventResult
Assembly:Microsoft.Azure.ApplicationInsights.Query
File(s):C:\Git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights.Query\src\Generated\Models\EventsCustomEventResult.cs
Covered lines:3
Uncovered lines:3
Coverable lines:6
Total lines:65
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_CustomEvent()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights.Query\src\Generated\Models\EventsCustomEventResult.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    /// A custom event result
 18    /// </summary>
 19    [Newtonsoft.Json.JsonObject("customEvent")]
 20    public partial class EventsCustomEventResult : EventsResultData
 21    {
 22        /// <summary>
 23        /// Initializes a new instance of the EventsCustomEventResult class.
 24        /// </summary>
 1325        public EventsCustomEventResult()
 26        {
 27            CustomInit();
 1328        }
 29
 30        /// <summary>
 31        /// Initializes a new instance of the EventsCustomEventResult class.
 32        /// </summary>
 33        /// <param name="id">The unique ID for this event.</param>
 34        /// <param name="count">Count of the event</param>
 35        /// <param name="timestamp">Timestamp of the event</param>
 36        /// <param name="customDimensions">Custom dimensions of the
 37        /// event</param>
 38        /// <param name="customMeasurements">Custom measurements of the
 39        /// event</param>
 40        /// <param name="operation">Operation info of the event</param>
 41        /// <param name="session">Session info of the event</param>
 42        /// <param name="user">User info of the event</param>
 43        /// <param name="cloud">Cloud info of the event</param>
 44        /// <param name="ai">AI info of the event</param>
 45        /// <param name="application">Application info of the event</param>
 46        /// <param name="client">Client info of the event</param>
 47        public EventsCustomEventResult(string id = default(string), long? count = default(long?), System.DateTime? times
 048            : base(id, count, timestamp, customDimensions, customMeasurements, operation, session, user, cloud, ai, appl
 49        {
 050            CustomEvent = customEvent;
 51            CustomInit();
 052        }
 53
 54        /// <summary>
 55        /// An initialization method that performs custom operations like setting defaults
 56        /// </summary>
 57        partial void CustomInit();
 58
 59        /// <summary>
 60        /// </summary>
 61        [JsonProperty(PropertyName = "customEvent")]
 3962        public EventsCustomEventInfo CustomEvent { get; set; }
 63
 64    }
 65}

Methods/Properties

.ctor()
.ctor(...)
get_CustomEvent()